{% extends "base.html" %}
{% block title %}{% endblock %}
{% block style %}{% endblock %}
{% block body1 %}{% include "nav.html" %} {% endblock %}
{% block bodyside %}{% endblock %}
{% block bodymain %}
    当前版本号:<b>{{version}}</b> <span> </span><a href="/admin">后台</a><br>
    强制更新：{{ force }}<br>
    更新内容：{{detial}}<br>
    <form action="/topnews/version" method="post">
        {% csrf_token %}
        <label>版本号：</label>
    <input type="text" name="version" ><br>

        <label>强制更新：</label>
<label style="width: 70px"><input name="force" style="width: 20px" type="radio" value="true" />是</label>
<label style="width: 70px"><input name="force" style="width: 20px" type="radio" value="false" />否</label><br>
        <label>更新日志：</label><br>
		 <textarea type="text" name="detial"  style="width:500px;height:100px"></textarea>
        <input type="submit" value="提交">
    </form><br>
    <form action="/uploadapp" class="form-inline" role="form"  method="post" enctype="multipart/form-data" accept-charset="utf-8">
        {% csrf_token %}
              <div class="form-group">
                  <input type="file" name="file">
              </div>
              <div class="form-group">
                  <input type="submit" value="上传普通版">
              </div>
          </form><br>
    <form action="/uploadapps" class="form-inline" role="form"  method="post" enctype="multipart/form-data" accept-charset="utf-8">
        {% csrf_token %}
              <div class="form-group">
                  <input type="file" name="file">
              </div>
              <div class="form-group">
                  <input type="submit" value="上传代理版">
              </div>
          </form><br>
    <form action="/uploadrich" class="form-inline" role="form"  method="post" enctype="multipart/form-data" accept-charset="utf-8">
        {% csrf_token %}
              <div class="form-group">
                  <input type="file" name="file">
              </div>
              <div class="form-group">
                  <input type="submit" value="上传聚鑫头条">
              </div>
          </form>
    <br>
<span>http://liuxu.xyz/download/app</span><br>
<span>http://liuxu.xyz/download/apps</span><br>
<span>http://liuxu.xyz/download/rich</span><br>
{% endblock %}
{% block script %}
<script type="text/javascript">
</script>
{% endblock %}
